package com.smartcommunity.faceengine;


import com.smartcommunity.bean.model.Result;
import com.smartcommunity.entity.facelib.sensenets2.SenseNets2FaceDetect;
import com.smartcommunity.entity.facelib.sensenets2.SenseNets2FaceResponse;

import java.util.List;
import java.util.Map;

public interface FaceEngineService {

    Result<SenseNets2FaceResponse> detectFaceFeature(SenseNets2FaceDetect param) ;

    Result<SenseNets2FaceResponse> detectFaceFeature(String imgUri) ;

    /**
     *
     * @param imgUrls
     * @return Map: Key->${imgUrl}, Value->${faceFeature}
     */
    Result<Map<String,String>> detectFaceFeature(List<String> imgUrls) ;

}
